
package com.dp.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;


@Data
public class EquipmentHeartbeatDto extends BaseMqMessage {
  
    /** 序号 */
    @ApiModelProperty(value = "序号", position = 1)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long sn;
    
    /** 设备编号 */
    @ApiModelProperty(value = "设备编号", position = 2)
    private String equipmentNo;

    /** 最后采集时间 */
    @ApiModelProperty(value = "最后采集时间(yyyy-MM-dd HH24:MI:SS)", position = 3)
    private String lastCollectTime;

}

